/* 
 * 
 * Created on 21 Oct 2011 by simonk
 * 
 * Copyright: Multicom Products Ltd. 2011 Bristol, England
 */
package objects.info;

import java.util.Date;

import gui.JobStatuses;
import objects.data.WorkPacket;
import utils.DateUtil;

/**
 *
 * @author simonk
 */
public class JobPanelInfo {
	public String name;
	public String status;
	public String submittedTime;
	public String runTime;
	public WorkPacket data;
	
	public JobPanelInfo(WorkPacket data) {
		this.name = data.jobname;
		this.status = JobStatuses.SUBMITTED;
		this.submittedTime = DateUtil.toString(new Date());
		this.runTime = "";
		this.data = data;
	}
	
}
